<?php 
namespace addons\good\models;
use models\BaseModel;

class CategoryModel extends BaseModel {
    protected $auto = [
        ['create_time' , 'time' , self::MODEL_INSERT , 'function']
    ];

    protected $validate = [
        ['title' , 'required' , '请输入分类名'] ,
    ];
}